package com.fengyunhe.common;

import java.util.List;

/**
 * 功能：模块，不同的模块在不同的项目中自由组合
 * 作者： yangyan
 * 时间： 2014/8/27 .
 */
public class AppModule {

    private String id;
    private String name;
    private List<AppModule> depend;
    private boolean inited = false;
    private int order;

    public void setInited(boolean inited) {
        this.inited = inited;
    }

    public boolean isInited() {
        return inited;
    }

    public void setDepend(List<AppModule> depend) {
        this.depend = depend;
    }

    public List<AppModule> getDepend() {
        return depend;
    }

    /**
     * 是否可用
     */
    private boolean enable = true;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public boolean isEnable() {
        return enable;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }
}
